/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

/**
 *Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/11/18             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("")
public class OrderInfoDTO implements java.io.Serializable, Comparable<OrderInfoDTO> {

	private static final long serialVersionUID = 1L;

	private Integer orderid = null;

	private java.sql.Date orderdate = null;

	private java.sql.Time ordertime = null;

	private Double price = null;

	private Boolean isPayed = null;

	private String stateString = null;
	
	private GoodsInfoDTO[] goodsInfoArray = null;

	public Integer getorderid() {
		return this.orderid;
	}

	public void setorderid(
			Integer orderid) {
		this.orderid = orderid;
	}

	public java.sql.Date getorderdate() {
		return this.orderdate;
	}

	public void setorderdate(
			java.sql.Date orderdate) {
		this.orderdate = orderdate;
	}

	public java.sql.Time getordertime() {
		return this.ordertime;
	}

	public void setordertime(
			java.sql.Time ordertime) {
		this.ordertime = ordertime;
	}

	public Double getprice() {
		return this.price;
	}

	public void setprice(
			Double price) {
		this.price = price;
	}

	public Boolean getIsPayed() {
		return this.isPayed;
	}

	public void setIsPayed(
			Boolean isPayed) {
		this.isPayed = isPayed;
	}
	
	public String getStateString() {
		return stateString;
	}

	public void setStateString(String stateString) {
		this.stateString = stateString;
	}
	
	public GoodsInfoDTO[] getGoodsInfoDTO() {
		return this.goodsInfoArray;
	}

	public void setGoodsInfoDTO(
			GoodsInfoDTO[] goodsInfoArray) {
		this.goodsInfoArray = goodsInfoArray;
	}

  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			OrderInfoDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

